POV-Ray : Newsgroups : povray.unofficial.patches : Strange Bug in MegaPOV : Strange Bug in MegaPOV Server Time
1 Sep 2024 20:15:29 EDT (-0400)
  Strange Bug in MegaPOV  
From: Rune
Date: 19 Nov 2000 11:05:36
Message: <3a17fa50@news.povray.org>
The code below is supposed to output

A = 0.00000000000000000000
B = 0.00000000000000000000
C = 0.00000000000000000000
D = 0.00000000000000000000

*every* time it is run.
But sometimes the numbers change to random numbers.

It doesn't happen every time, but if the code is run - say 20 times - the
probability is high. Try to render it as an animation, and watch the
numbers.

I use Windows 95, MegaPOV 0.6A.
Can anyone confirm it?

#version unofficial MegaPOV 0.6;
camera {
   location 6*x
   look_at 0
   translate 2*y
}
light_source {<1,2,3>, color 1}
#declare Q = array[4][4] {
   {<1.6,2.5,6.1>, <2.4,0.0,0.0>, <0.2,4.7,6.3>, <2.4,2.5,5.5>,},
   {<4.3,8.0,5.0>, 0,             0,             <8.5,0.0,1.3>,},
   {<1.5,4.3,2.0>, 0,             0,             <1.4,0.3,7.1>,},
   {<2.6,2.2,1.1>, <5.4,0.0,0.0>, <3.2,2.6,3.6>, <2.3,2.2,1.4>,},
}
#declare P = Q
#debug "\nA = " #debug str(vlength(P[1][1]),0,20)
#debug "\nB = " #debug str(vlength(P[1][2]),0,20)
#debug "\nC = " #debug str(vlength(P[2][2]),0,20)
#debug "\nD = " #debug str(vlength(P[2][1]),0,20)
box{1,1 pigment {color 0}}


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.